package com.bjx.flow.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.bjx.common.core.domain.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @desc: 流程分组数据实体
 * @author: liushuai
 * @date: 2022/10/24
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("flow_group")
@Schema(title = "FlowGroup",description = "流程分组")
public class FlowGroupEntity extends BaseEntity {
      /**
      * 分组Id
      */
      @TableId(type = IdType.AUTO)
      @Schema(title = "groupId",description = "分组Id")
      private  Long groupId; 
      
      /**
      * 分组名称
      */
      @Schema(title = "groupName",description = "分组名称")
      private  String groupName; 
      
      /**
      * 分组编号
      */
      @Schema(title = "groupCode",description = "分组编号")
      private  String groupCode; 
      
      /**
      * 是否启用(1、是/2、否)
      */
      @Schema(title = "enabled",description = "是否启用(1、是/2、否)")
      private  Short enabled; 
      
}